package com.ctshk.rpc.system.req;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

import com.ctshk.common.model.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * <p>
 * 新增供应商成本项入参
 * </p>
 *
 * @author 张志朋
 * @since 2021-02-03
 */
@Data
@ApiModel(value="AddSupplierCostItemReq请求对象", description="新增供应商成本项入参")
public class AddSupplierCostItemReq extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -2773608897719237123L;

    @ApiModelProperty(value = "所属供应商")
    private Long supplierId;

    @ApiModelProperty(value = "供应商成本项主数据")
    private Long costItemId;

    @ApiModelProperty(value = "供应商成本项")
    private String costItem;

    @ApiModelProperty(value = "供应商联络")
    private String contactName;

    @ApiModelProperty(value = "联系电话区号")
    private String contactAreaCode;

    @ApiModelProperty(value = "联系电话")
    private String contactMobile;

    @ApiModelProperty(value = "供应商银行账号")
    private String bankCard;

    @ApiModelProperty(value = "银行名称")
    private String bankName;

    @ApiModelProperty(value = "供应商财务电子邮件地址")
    private String financeContactEmail;

    @ApiModelProperty(value = "供应商财务联系人")
    private String financeContactName;

    @ApiModelProperty(value = "供应商财务联系电话")
    private String financeContactMobile;

    @ApiModelProperty(value = "业务电邮地址")
    private String businessEmail;

    @ApiModelProperty(value = "供应商传真")
    private String contactFax;

    @ApiModelProperty(value = "合同文件")
    private String contractFile;

    @ApiModelProperty(value = "其他文件")
    private String otherFile;

    @ApiModelProperty(value = "结算周期")
    private Integer settlementPeriod;


    @ApiModelProperty(value = "合作有效期类型(1 有时间限制	2 长期)")
    private Integer cooperationValidityType;

    @ApiModelProperty(value = "付款方式 1:挂账;2:预付")
    private Integer payMethod;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "结算周期类型(	1 按天结算	2 按周结算	3 按月结算)")
    private Integer settlementPeriodType;

    @ApiModelProperty(value = "合作开始时间")
    private LocalDate cooperationDateBegin;
    
    @ApiModelProperty(value = "合作结束时间")
    private LocalDate cooperationDateEnd;

    
    @ApiModelProperty(value = "币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "币种")
    private String currency;

    @ApiModelProperty(value = "汇率")
    private BigDecimal exchangeRate;
    
    
    
    
    
    
    
    /**
     * 添加供应商的时候不用传，修改的时候要传
     */
    @ApiModelProperty(value = "所属部门的主键")
    private Long supplierCostItemDepartmentId;
    
    @ApiModelProperty(value = "所属部门Id")
    private Long departmentId;
    @ApiModelProperty(value = "部门名称")
    private String departmentName;
    
    @ApiModelProperty(value = "供应商所属部门")
    private List<CostItemDepartmentReq> costItemDepartmentReqList;

}
